<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();?>






<?
foreach($arResult["ITEMS" ] as $k=>$arItem):

    
    $pic=CFile::GetPath($arItem["PROPERTIES"]["PHOTOS"]["VALUE"][0]);
    
    
    $arResult["ITEMS"][$k]['PREVIEW_PICTURE'] = $APPLICATION->IncludeComponent("soulstream:imager", "", Array(
                                 "MODE" => "4",
                                 "RETURN" => "src",
                                 "RESIZE_SMALL" => "Y",
                                 "IMAGE" => $pic,
                                 "FILE_NAME" => "",
                                 "SAVE_DIR" => "/upload/imager/",
                                 "WIDTH" => "150",
                                 "HEIGHT" => "",
                                 "QUALITY" => "100",
                                 "ADD_WATERMARK" => "N",
                                 "ADD_CORNER" => "N",
                                 "ADD_TEXT" => "N",
                                 "CACHE_IMAGE" => "Y",
                                        ), false, array("HIDE_ICONS"=>"Y"));
endforeach;
?>